﻿@model LPrisaMVC.Entities.CREDITO

@{
    ViewBag.Title = "Pagos";
}

<h2>Pagos</h2>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>DATOS DE CREDITO</legend>

        @Html.HiddenFor(model => model.Id)

        <div class="editor-field"><b>Cliente: </b></div>
        <div class="editor-field">@Html.TextBox("CLIENTE")</div>

        <div class="editor-field"><b>DniRuc: </b></div>
        <div class="editor-field">@Html.TextBox("DNIRUC")</div>

        <div class="editor-field"><b>Ultimo Pago: </b></div>
        <div class="editor-field">@Html.TextBox("FechaUltPago")</div>

        <div class="editor-field"><b>Monto: </b></div>
        <div class="editor-field">@Html.TextBox("MontoUltPago")</div>

        <div class="editor-field"><b>Deuda Actual: </b></div>
        <div class="editor-field">@Html.TextBox("TODEUDA")</div>

        <div class="editor-field"><b>Vencimiento de Crédito: </b></div>
        <div class="editor-field">@Html.TextBox("VENCIMIENTO")</div><p></p>

    </fieldset>
    <pre></pre>
    <fieldset>
        <legend>DATOS DE PAGO</legend>
        <b>Monto a Pagar: </b>@Html.TextBox("montoPagar")
        <input  type="submit" name="Buscar" value="Guardar"/><p></p>
    </fieldset>
}
<pre></pre>
<p>
    <a href="@Url.Action("Index", "Credito")">
                <img src ="@Url.Content("~/Images/back.png")" title="Volver a la Lista de Créditos" 
                    alt="Volver a la Lista de Créditos" /></a> 
    @Html.ActionLink("Volver al listado de Créditos", "Index")
</p>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
